package nju.software.xkxt.biz.vo;

import nju.software.xkxt.service.model.CourseModel;
import nju.software.xkxt.util.DateUtil;

public class CourseVO {
	private String CId;
	private String CName;
	private String CType;
	private String time;
	private String tId;
	

	

	public CourseVO(CourseModel courseModel) {
		super();
		CId = String.valueOf(courseModel.getCId());
		CName = courseModel.getCName();
		CType = String.valueOf(courseModel.getCType());
		time = DateUtil.format(courseModel.getTime(), DateUtil.webFormat);
		tId  =String.valueOf(courseModel.getTId());
	}

	public CourseVO() {
	}

	public String getCId() {
		return CId;
	}

	public void setCId(String cId) {
		CId = cId;
	}

	public String getCName() {
		return CName;
	}

	public void setCName(String cName) {
		CName = cName;
	}

	public String getCType() {
		return CType;
	}

	public void setCType(String cType) {
		CType = cType;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	public String gettId() {
		return tId;
	}

	public void settId(String tId) {
		this.tId = tId;
	}
}
